package com.beidouapp.manager;

import java.util.List;
import java.util.Map;

import com.beidouapp.domain.pojo.PrjProgress;
import com.beidouapp.domain.pojo.PrjProgressSummary;
import com.beidouapp.domain.pojo.Project;

public interface ProjectManager {
	public List<Project> findProjectByMap(Map<String, Object> params,
			Integer offset, Integer limit);

	public Integer findProjectCountByMap(Map<String, Object> params);
	
	
	Project getProjectById(String id);
	
	public List<PrjProgress> findPrjProgressByMap(Map<String, Object> params);
	
	Integer save(Project project);
	
	void update(Project project);
	
	
	void savePrjProgress(PrjProgress prjProgress);
	
	void updatePrjProgress(PrjProgress prjProgress);

	List<PrjProgressSummary> listPrjProgressSummary();
	
	Project getOnAndOffLineMan(Project project);
	PrjProgress  getPrjProgressById(String id);
	
	PrjProgress getMaxFollowTimePrj(String id);
}
